﻿var com = {
    _cLog: function (_tit, _msg, _type) {
        if (Object.hasOwnProperty.call(window, "log")) {
            var _info = _tit + ":" + _msg;
            switch (_type) {
                case "info":
                    log.info(_info);
                    break;
                case "error":
                    log.error(_info);
                    break;
                default:
                    log.warn(_info);
                    break;
            }
        }
    }
};